package com.exposit.books.service;

import org.springframework.beans.factory.annotation.Autowired;

import com.exposit.books.dao.BookDAO;
import com.exposit.books.domain.Book;

public class ProfitForPublisherServiceImpl implements ProfitForPublisherService {

	@Autowired
	BookDAO bookDAO;
	@Autowired
	@Override
	public Book getBookById(Long id) {
	
		return bookDAO.getById(id);
	}
	@Override
	public Long getProfit(Book book, Long purchaseprice, Long contribution, Long percentage) {
		// TODO Auto-generated method stub
		
		
		return null;
	}

}
